package com.zzx.business.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.zzx.common.core.page.TableDataInfo;
import com.zzx.business.domain.BusinessTruckDriver;
import com.zzx.business.vo.BusinessTruckDriverVo;

import java.util.List;

/**
 * 货车信息Service接口
 *
 * @author Z、zx
 * @date 2024-08-21
 */
public interface IBusinessTruckDriverService extends IService<BusinessTruckDriver> {

    /**
     * 分页查询
     *
     * @param entity
     * @return
     */
    TableDataInfo<BusinessTruckDriverVo> queryList(BusinessTruckDriverVo entity);

    /**
     * 查询全部
     *
     * @param entity
     * @return
     */
    List<BusinessTruckDriverVo> queryAll(BusinessTruckDriverVo entity);

    /**
     * 根据ID查询
     *
     * @param id
     * @return
     */
    BusinessTruckDriverVo queryById(Long id);
}
